pdf Chunk Size
Upper bound, in bytes, for a single chunk of PDF output. Affects a PDF export only. It matters most for the streamed BlockApi.export overloads, where this is the memory the caller has to hold for one chunk. A larger value lowers the per-chunk overhead and raises the memory each chunk costs. A smaller value does the opposite. null, the default, uses an engine-chosen size, and so does a value below 1. Any other value is clamped to 4096, 67108864, so an unusable request lowers the quality of the trade rather than failing the export. Note this is a bound and not a chunk size: the encoder also flushes after each page, so the last chunk of a page is normally smaller.